<template>
	<div class="newscreen1-module4-content">
		<div class="title-view">{{title}}</div>
		<div class="content-layout">
			<days-board :days="days" unit="条" />
		</div>
	</div>
</template>

<script setup>
import DaysBoard from '@/views/components/DaysBoard.vue'	
	
const props = defineProps({
	title:{
		type:String,
		default:'标题'
	},
	days:{
		type:Object,
		default:function(){
			return {
				number1:0,
				number2:0
			}
		}
	}
})
</script>

<style scoped lang="scss">
.newscreen1-module4-content{
	height: 100%;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	background: rgba(6,48,109,.5);
	.title-view{
		font-size: .6em;
		flex-shrink: 0;
		text-align: center;
		padding: .6em 0;
		color: white;
	}
	.content-layout{
		flex-grow: 1;
		box-sizing: border-box;
		height: 1px;
		padding-bottom: .14em;
	}
}
</style>